#define __MYSERVER_H__
#include"ikcp.h"


typedef struct{
	unsigned char *ipstr;
	int port;
	int sock;
    ikcpcb *pkcp;
	struct sockaddr_in addr;
	struct sockaddr_in clienaddr;
	char buff[512];
}receiver,*preceiver;

int data_alloc(preceiver*handler,unsigned char *port);
int data_dealloc(preceiver*handler);

